<template>
  <div id="Navigation">
    <ul>
      <a href="#"
        ><img
          src="https://mat1.gtimg.com/pingjs/ext2020/newom/build/static/images/new_logo.png"
      /></a>
      <!-- 加入key防止读取缓存 -->
      <li><router-link to="/" key="this.$route.path">要闻</router-link></li>
      <li><router-link to="/Quarantine">抗肺炎</router-link></li>
      <li><router-link to="/CreateNew">发布</router-link></li>
      <li><a>军事</a></li>
      <li><a>国际</a></li>
      <li><a>财经</a></li>
      <li><a>娱乐</a></li>
    </ul>
  </div>
</template>

<script>
import "../assets/css/Header.css";
export default {
  name: "Header",
  data() {
    return {};
  },
};
</script>
<style scoped>
</style>
